<?php
use Illuminate\Database\Seeder;

class AdminOperateModule5 extends Seeder
{
    public function run()
    {
        \Illuminate\Support\Facades\DB::table('admin_operate_module')->insert([
            [
                'id' => 77,
                'name' => '新增客服角色',
                'model' => 'customer_service_role',
                'method' => 'addCustRole',
                'pid' => 7,
                'type' => 1,
                'status' => 1,
            ],
            [
                'id' => 78,
                'name' => '编辑客服角色',
                'model' => 'customer_service_role',
                'method' => 'editCustRole',
                'pid' => 7,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 79,
                'name' => '新增客服',
                'model' => 'customer_service_agent',
                'method' => 'addCust',
                'pid' => 1,
                'type' => 1,
                'status' => 1,
            ],
            [
                'id' => 80,
                'name' => '编辑客服',
                'model' => 'customer_service_agent',
                'method' => 'editCust',
                'pid' => 1,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 81,
                'name' => '新增集团客户',
                'model' => 'admin_group_client',
                'method' => 'addGroupClient',
                'pid' => 1,
                'type' => 1,
                'status' => 1,
            ],
            [
                'id' => 82,
                'name' => '编辑集团客户',
                'model' => 'admin_group_client',
                'method' => 'editGroupClient',
                'pid' => 1,
                'type' => 2,
                'status' => 1,
            ],
            [
                'id' => 83,
                'name' => '修改客户的管理员密码',
                'model' => 'users',
                'method' => 'changePasswordComAdmin',
                'pid' => 1,
                'type' => 6,
                'status' => 1,
            ],
            [
                'id' => 84,
                'name' => '修改集团客户的管理员密码',
                'model' => 'admin_group_client_user',
                'method' => 'changePasswordGroupAdmin',
                'pid' => 1,
                'type' => 6,
                'status' => 1,
            ],

        ]);
    }
}
